public class HWMtest {
    public static void main(String[] args) {
        Hero hero = new Hero();
        hero.name="李晓霞";
        hero.health=800;
        hero.show();
        Weapon weapon = new Weapon();
        weapon.name="死神镰刀";
        weapon.health=100;
        weapon.show();
        Monster monster=new Monster();
        monster.name="小鬼";
        monster.health=300;
        monster.kind="潜水型";
        monster.show();
    }
}
